package com.bajiao.vo.order;

import com.bajiao.entity.order.OrderDetails;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("OrderDetailsResponse")
public class OrderDetailsResponse {

    @ApiModelProperty("订单id")
    private String id;
    @ApiModelProperty("订单编号")
    private String orderNo;
    @ApiModelProperty("店铺名称")
    private String storeTitle;
    @ApiModelProperty("状态 0-待支付 1-待使用 2-已使用 7-退款中 8-已退款 9-已取消")
    private Integer status;
    @ApiModelProperty("状态")
    private String statusConv;

    @ApiModelProperty("购买数量")
    private Integer buyNum;
    @ApiModelProperty("下单时间")
    private String createTimeStr;
    @ApiModelProperty("支付时间")
    private String payTimeStr;
    @ApiModelProperty("支付方式")
    private String payTypeStr;
    @ApiModelProperty("实付款")
    private BigDecimal payPrice;
    @ApiModelProperty("用户昵称")
    private String nickname;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("核销码")
    private String verifyCode;
    @ApiModelProperty("核销时间")
    private String verifyTimeStr;
    @ApiModelProperty("核销二维码")
    private String verifyQrCode;
    @ApiModelProperty("优惠金额")
    private BigDecimal discountAmount;
    @ApiModelProperty("退款单号")
    private String refundOrderNo;
    @ApiModelProperty("退款金额")
    private BigDecimal refundPrice;
    @ApiModelProperty("退款时间")
    private String refundTimeStr;
    @ApiModelProperty("退款原因")
    private String reason;

    @ApiModelProperty("商品详情")
    private List<OrderDetails> orderDetails;
}
